package net.googlecode.garzha.dao;

import net.googlecode.garzha.domains.Comment;
import net.googlecode.garzha.domains.Group;
import net.googlecode.garzha.domains.Person;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Admin
 * Date: 01.06.11
 * Time: 15:36
 * To change this template use File | Settings | File Templates.
 */
public interface PersonDAO {
    public List getListComment(String id);
     public void updatePerson(Person prs);
    public Person getPerson(String email);
    public void addPerson(Person prs);
    public Group getGroup(Integer id);
    public List getListGroup();
     public Person getPersonID(String id);
    public List getGroupMates(Person prs);
   public void addComment(Comment com);
    public List getTop5();

}